aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-overflow/reference
diff options
context:
space:
mode:
authorbors-servo <servo-ops@mozilla.com>2022-01-19 11:40:10 -0500
committerGitHub <noreply@github.com>2022-01-19 11:40:10 -0500
commit4401622eb11a4719c17446bec19d3a80fa585d28 (patch)
tree2606c8545c35b7a6d29b96c33647641509a5848e /tests/wpt/web-platform-tests/css/css-overflow/reference
parentbc83e1158b315dda194dc3979d71644cc9b70a5d (diff)
parent458dfbefca35c611996bdd71c90b28594eaad2c8 (diff)
downloadservo-4401622eb11a4719c17446bec19d3a80fa585d28.tar.gz
servo-4401622eb11a4719c17446bec19d3a80fa585d28.zip
Auto merge of #28592 - CYBAI:wpt_update_07-09-2021, r=jdm
Sync WPT with upstream manually (07-09-2021) I haven't successfully used GitHub Actions to send a PR though, I think it might be good to send this PR first because we haven't updated our WPT tests for quite a long time. This branch is generated by the job in https://github.com/CYBAI/servo/pull/39 but it failed to create a PR (maybe I failed to setup the scope of my GitHub token).
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-overflow/reference')
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/reference/overflow-inline-block-with-opacity-ref.html8
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html16
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-039-ref.html16
3 files changed, 40 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/reference/overflow-inline-block-with-opacity-ref.html b/tests/wpt/web-platform-tests/css/css-overflow/reference/overflow-inline-block-with-opacity-ref.html
new file mode 100644
index 00000000000..1b37bfffb78
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/reference/overflow-inline-block-with-opacity-ref.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<style>
+ span { opacity: 0.99; }
+ #button { display: inline-block; }
+</style>
+<span>
+ <div id="button">hello<br>world</div>
+</span>
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html b/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html
new file mode 100644
index 00000000000..bd8db762dd8
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+.clamp {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 3;
+ font: 16px / 32px serif;
+ background-color: yellow;
+ overflow: hidden;
+}
+</style>
+<div class="clamp">
+ <div>
+ Line 1<br>Line 2<br>Line 3<br>Line 4<br>Line 5
+ </div>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-039-ref.html b/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-039-ref.html
new file mode 100644
index 00000000000..fd8a76b2f8e
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/reference/webkit-line-clamp-039-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+.clamp {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 5;
+ font: 16px / 32px serif;
+ background-color: yellow;
+ overflow: hidden;
+}
+</style>
+<div class="clamp">
+ <div>
+ Line 1<br>Line 2<br>Line 3<br>Line 4<br>Line 5<br>Line 6
+ </div>
+</div>