mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Implement a non-recursive version of CSS quotes
(#34770)
* Squash and don't explicitly use noto-cjk in tests Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com> * Mark quotes-034.html.ini failure Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com> * Address review comments Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com> --------- Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
This commit is contained in:
parent
31de9c1c21
commit
11f54b9f23
25 changed files with 536 additions and 229 deletions
19
tests/wpt/meta/MANIFEST.json
vendored
19
tests/wpt/meta/MANIFEST.json
vendored
|
@ -161519,6 +161519,19 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"quotes-lang-dynamic-001.html": [
|
||||
"736627eeb0a8b9c44359659782df7212bd2a2256",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-content/reference/quotes-lang-dynamic-001-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"quotes-slot-scoping.html": [
|
||||
"3caeabef4eccc76d8703825bf5db09e129186987",
|
||||
[
|
||||
|
@ -413698,7 +413711,7 @@
|
|||
[]
|
||||
],
|
||||
"quotes-slot-scoping-ref.html": [
|
||||
"e3e907cba589deb2e2c950a0a109cc639d0d16bd",
|
||||
"a546fa96e56cb89cd081188b363ec8d530ed7f12",
|
||||
[]
|
||||
],
|
||||
"reference": {
|
||||
|
@ -413845,6 +413858,10 @@
|
|||
"quotes-first-letter-002-ref.html": [
|
||||
"094be48cd8c90b569b82ce26d9083daecca7ae44",
|
||||
[]
|
||||
],
|
||||
"quotes-lang-dynamic-001-ref.html": [
|
||||
"14ef76596211d5b03f8474387c81821d8d8e628f",
|
||||
[]
|
||||
]
|
||||
},
|
||||
"resources": {
|
||||
|
|
2
tests/wpt/meta/css/CSS2/generated-content/content-056.xht.ini
vendored
Normal file
2
tests/wpt/meta/css/CSS2/generated-content/content-056.xht.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[content-056.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[content-156.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[content-157.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[first-letter-dynamic-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[first-letter-dynamic-002.xht]
|
||||
expected: FAIL
|
|
@ -10,3 +10,4 @@
|
|||
|
||||
[Property bookmark-level does not inherit]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[quotes-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[quotes-010.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[quotes-021.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[quotes-031.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-content/quotes-slot-scoping.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-content/quotes-slot-scoping.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[quotes-slot-scoping.html]
|
||||
expected: FAIL
|
13
tests/wpt/tests/css/css-content/quotes-lang-dynamic-001.html
vendored
Normal file
13
tests/wpt/tests/css/css-content/quotes-lang-dynamic-001.html
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-content test: changing the lang attribute affects quotes</title>
|
||||
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh.work@gmail.com">
|
||||
<link rel="match" href="reference/quotes-lang-dynamic-001-ref.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
|
||||
|
||||
<div id="root" lang="en"><q>First letter</q></div>
|
||||
|
||||
<script>
|
||||
document.body.offsetTop;
|
||||
root.setAttribute('lang', 'fr');
|
||||
</script>
|
|
@ -4,15 +4,8 @@
|
|||
<title>Quote scope Shadow DOM and SLOT</title>
|
||||
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-content-3/#quote-values">
|
||||
<style>
|
||||
q {
|
||||
quotes: '1''1''2''2''3''3';
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<q>
|
||||
<q>Quote</q>
|
||||
</q>
|
||||
1 2Quote2 1
|
||||
</body>
|
||||
</html>
|
||||
|
|
7
tests/wpt/tests/css/css-content/reference/quotes-lang-dynamic-001-ref.html
vendored
Normal file
7
tests/wpt/tests/css/css-content/reference/quotes-lang-dynamic-001-ref.html
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-content test: changing the lang attribute affects quotes</title>
|
||||
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh.work@gmail.com">
|
||||
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
|
||||
|
||||
<div>«First letter»</div>
|
Loading…
Add table
Add a link
Reference in a new issue