mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement overflow:clip (#35103)
* Implement overflow clip Signed-off-by: longvatrong111 <longvatrong111@gmail.com> * Modify test ini for overflow clip Signed-off-by: longvatrong111 <longvatrong111@gmail.com> * Update overflow_clip_rect calculation Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Update overflow-clip-margin border-radius according to shadow box Signed-off-by: longvatrong111 <longvatrong111@gmail.com> --------- Signed-off-by: longvatrong111 <longvatrong111@gmail.com> Signed-off-by: batu_hoang <longvatrong111@gmail.com> Signed-off-by: batu_hoang <55729155+longvatrong111@users.noreply.github.com>
This commit is contained in:
parent
cb3ecd4417
commit
8c46749740
33 changed files with 261 additions and 200 deletions
|
@ -1,2 +0,0 @@
|
|||
[clip-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clip-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clip-003.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clip-004.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clip-005.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[dynamic-visible-to-clip-001.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-overflow/margin-block-end-scroll-area-001.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-overflow/margin-block-end-scroll-area-001.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[margin-block-end-scroll-area-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[overflow-body-propagation-010.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[overflow-clip-cant-scroll.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[overflow-clip-content-visual-overflow.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[overflow-clip-margin-001.html]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[overflow-clip-margin-hit-testing.html]
|
||||
[Ensure elements in overflow-clip-margin are returned from elementFromPoint]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[overflow-clip-margin-invalidation.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-overflow/overflow-clip-margin-mul-column-border-box.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-overflow/overflow-clip-margin-mul-column-border-box.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[overflow-clip-margin-mul-column-border-box.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-overflow/overflow-clip-margin-mul-column-content-box.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-overflow/overflow-clip-margin-mul-column-content-box.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[overflow-clip-margin-mul-column-content-box.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[overflow-clip-rounded-table.html]
|
||||
expected: FAIL
|
|
@ -2,9 +2,6 @@
|
|||
[CSS Transitions with transition-behavior:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-behavior:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (0) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-behavior:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -14,18 +11,12 @@
|
|||
[CSS Transitions with transition-behavior:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (0.6) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-behavior:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (1) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-behavior:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (1.5) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (0) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -35,9 +26,6 @@
|
|||
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (0.6) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (1) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <overflow-clip-margin> from [initial\] to [123px\] at (1.5) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -56,9 +44,6 @@
|
|||
[CSS Transitions: property <overflow-clip-margin> from [initial\] to [123px\] at (0.6) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <overflow-clip-margin> from [initial\] to [123px\] at (1) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <overflow-clip-margin> from [initial\] to [123px\] at (1.5) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -77,18 +62,12 @@
|
|||
[CSS Transitions with transition: all: property <overflow-clip-margin> from [initial\] to [123px\] at (0.6) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <overflow-clip-margin> from [initial\] to [123px\] at (1) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <overflow-clip-margin> from [initial\] to [123px\] at (1.5) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <overflow-clip-margin> from [initial\] to [123px\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <overflow-clip-margin> from [initial\] to [123px\] at (0) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <overflow-clip-margin> from [initial\] to [123px\] at (0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -98,9 +77,6 @@
|
|||
[CSS Animations: property <overflow-clip-margin> from [initial\] to [123px\] at (0.6) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <overflow-clip-margin> from [initial\] to [123px\] at (1) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <overflow-clip-margin> from [initial\] to [123px\] at (1.5) should be [123px\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[overflow-shorthand-002.html]
|
||||
[overflow - horizontal writing mode]
|
||||
expected: FAIL
|
||||
|
||||
[overflow - vertical writing mode]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
[overflow-clip-margin-computed.html]
|
||||
[Property overflow-clip-margin value '0px']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow-clip-margin value '10px']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow-clip-margin value 'content-box']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[overflow-clip-margin.html]
|
||||
[e.style['overflow-clip-margin'\] = "10px" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['overflow-clip-margin'\] = "content-box" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
[overflow-computed.html]
|
||||
[Property overflow value 'clip']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'auto clip']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'clip auto']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'clip clip']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'clip hidden']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'clip scroll']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'clip visible']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'hidden clip']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'scroll clip']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow value 'visible clip']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow-y value 'clip']
|
||||
expected: FAIL
|
||||
|
||||
[Property overflow-block value 'clip']
|
||||
expected: FAIL
|
|
@ -1,12 +0,0 @@
|
|||
[overflow-valid.html]
|
||||
[e.style['overflow'\] = "clip" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['overflow'\] = "clip clip" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['overflow-y'\] = "clip" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['overflow-block'\] = "clip" should set the property value]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue