Revision 2d080f1a7dd986dcd3f33a7676d30f367217d988 authored by Eric Willigers on 03 October 2017, 02:21:05 UTC, committed by Chromium WPT Sync on 03 October 2017, 02:21:05 UTC
When offset-position is not 'auto', the path begins at offset-position.

When offset-position is not 'auto', but offset-path is 'none', we have a
simple translation to offset-position. In this case, offset-anchor uses
the same value as offset-position, but with percentages referring to
the element's width/height and not the containing block's width/height.

Spec:
https://drafts.fxtf.org/motion-1/#offset-position-property
https://drafts.fxtf.org/motion-1/#offset-anchor-property

Work remaining:
For this initial implementation, we use the parent layout object
instead of the true containing block.

(When an element is absolutely positioned and the parent element is the
containing block, these are the same.)

BUG=638055

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I53e5b576adebf65ede8ebd1dabe084713ebdf875
1 parent 85a1716
History
File Mode Size
.well-known
2dcontext
FileAPI
IndexedDB
WebCryptoAPI
WebIDL
XMLHttpRequest
accelerometer
ambient-light
annotation-model
annotation-protocol
annotation-vocab
apng
assumptions
audio-output
background-fetch
battery-status
beacon
bluetooth
clear-site-data
clipboard-apis
common
compat
conformance-checkers
console
content-security-policy
cookies
core-aam
cors
credential-management
css
css-backgrounds
css-cascade
css-font-loading
css-fonts
css-paint-api
css-scoping
css-timing
css-typed-om
cssom
cssom-view
custom-elements
docs
dom
domparsing
domxpath
dpub-aam
dpub-aria
editing
encoding
encrypted-media
eventsource
ext-xhtml-pubid
feature-policy
fetch
fonts
fullscreen
gamepad
generic-sensor
geolocation-API
gyroscope
hr-time
html
html-imports
html-longdesc
html-media-capture
http
imagebitmap-renderingcontext
images
infrastructure
innerText
input-events
interfaces
intersection-observer
js
keyboard-lock
longtask-timing
magnetometer
mathml
media
media-capabilities
media-source
mediacapture-fromelement
mediacapture-image
mediacapture-record
mediacapture-streams
mediasession
mixed-content
navigation-timing
netinfo
notifications
offscreen-canvas
old-tests
orientation-event
orientation-sensor
page-visibility
paint-timing
payment-handler
payment-method-basic-card
payment-method-id
payment-request
performance-timeline
pointerevents
pointerlock
preload
presentation-api
progress-events
proximity
quirks-mode
referrer-policy
remote-playback
resize-observer
resource-timing
resources
screen-orientation
scroll-anchoring
secure-contexts
selection
selectors
server-timing
service-workers
shadow-dom
speech-api
staticrange
storage
streams
subresource-integrity
svg
svg-aam
tools
touch-events
trusted-types
uievents
upgrade-insecure-requests
url
user-timing
vibration
viewport
wai-aria
wasm
web-animations
web-nfc
web-share
webaudio
webauthn
webdriver
webgl
webmessaging
webrtc
websockets
webstorage
webusb
webvr
webvtt
workers
worklets
x-frame-options
.codecov.yml -rw-r--r-- 66 bytes
.gitignore -rw-r--r-- 182 bytes
.gitmodules -rw-r--r-- 519 bytes
.travis.yml -rw-r--r-- 4.3 KB
CONTRIBUTING.md -rw-r--r-- 1.6 KB
LICENSE.md -rw-r--r-- 5.1 KB
README.md -rw-r--r-- 13.8 KB
check_stability.ini -rw-r--r-- 524 bytes
config.default.json -rw-r--r-- 762 bytes
lint.whitelist -rw-r--r-- 45.9 KB
serve.py -rw-r--r-- 263 bytes
server-side.md -rw-r--r-- 8.1 KB
testharness_runner.html -rw-r--r-- 95 bytes
update-built-tests.sh -rwxr-xr-x 131 bytes
wpt -rwxr-xr-x 95 bytes
wpt.py -rw-r--r-- 15 bytes

README.md

back to top