Bug 1787947 - pref on CSS named pages in Nightly r=dholbert
Also standardize having named pages enabled for css-page WPT Differential Revision: https://phabricator.services.mozilla.com/D163638
This commit is contained in:
@@ -9667,6 +9667,21 @@ exports.CSS_PROPERTIES = {
|
||||
"unset"
|
||||
]
|
||||
},
|
||||
"page": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
"page"
|
||||
],
|
||||
"supports": [],
|
||||
"values": [
|
||||
"auto",
|
||||
"inherit",
|
||||
"initial",
|
||||
"revert",
|
||||
"revert-layer",
|
||||
"unset"
|
||||
]
|
||||
},
|
||||
"page-break-after": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
|
||||
@@ -8520,7 +8520,7 @@
|
||||
# Enables support for the named pages
|
||||
- name: layout.css.named-pages.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
value: @IS_NIGHTLY_BUILD@
|
||||
mirror: always
|
||||
rust: true
|
||||
|
||||
|
||||
1
testing/web-platform/meta/css/css-page/__dir__.ini
Normal file
1
testing/web-platform/meta/css/css-page/__dir__.ini
Normal file
@@ -0,0 +1 @@
|
||||
prefs: [layout.css.named-pages.enabled:true]
|
||||
@@ -1,7 +0,0 @@
|
||||
[inheritance.html]
|
||||
[Property page has initial value auto]
|
||||
expected: FAIL
|
||||
|
||||
[Property page does not inherit]
|
||||
expected: FAIL
|
||||
|
||||
@@ -1,4 +1,16 @@
|
||||
[page-orientation.tentative.html]
|
||||
[contents for selector ['undefined'\]]
|
||||
expected: FAIL
|
||||
[contents for selector [''\]]
|
||||
expected: FAIL
|
||||
[contents for selector ['named1'\]]
|
||||
expected: FAIL
|
||||
[contents for selector ['named3'\]]
|
||||
expected: FAIL
|
||||
[contents for selector ['named4'\]]
|
||||
expected: FAIL
|
||||
[contents for selector ['named5'\]]
|
||||
expected: FAIL
|
||||
[contents for selector ['named6'\]]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[page-rule-declarations-000.html]
|
||||
prefs: [layout.css.named-pages.enabled:true]
|
||||
[unexpected contents for selector ['page_jis_size_orientation'\]]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
[page-rule-declarations-001.html]
|
||||
prefs: [layout.css.named-pages.enabled:true]
|
||||
|
||||
[CSS Paged Media: parsing @page declarations inside @media]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
[page-rule-declarations-002.html]
|
||||
prefs: [layout.css.named-pages.enabled:true]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
[page-rule-declarations-003.html]
|
||||
prefs: [layout.css.named-pages.enabled:true]
|
||||
expected:
|
||||
if (os == "android") and fission: [TIMEOUT, OK]
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[page-rule-declarations-004.html]
|
||||
prefs: [layout.css.named-pages.enabled:true]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
[rule with invalid selector ['--a'\]]
|
||||
|
||||
Reference in New Issue
Block a user