зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1719239 - Disable support for content:none on elements due to webcompat issues. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D119188
This commit is contained in:
Родитель
e9e71b8796
Коммит
81b88e2c93
|
@ -5256,9 +5256,8 @@ var gCSSProperties = {
|
|||
type: CSS_TYPE_LONGHAND,
|
||||
applies_to_marker: true,
|
||||
// XXX This really depends on pseudo-element-ness.
|
||||
initial_values: ["normal"],
|
||||
initial_values: ["normal", "none"],
|
||||
other_values: [
|
||||
"none",
|
||||
'""',
|
||||
"''",
|
||||
'"hello"',
|
||||
|
|
|
@ -7521,7 +7521,7 @@
|
|||
# Is 'content:none' supported on (non-pseudo) elements?
|
||||
- name: layout.css.element-content-none.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: true
|
||||
value: false
|
||||
mirror: always
|
||||
rust: true
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-details.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -1,3 +1,4 @@
|
|||
[content-none-fieldset.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
||||
fuzzy: # anti-aliasing color differences inside scrollbars
|
||||
maxDifference=0-4;totalPixels=0-200
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-math.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-option.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-root-block.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-root-columns.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-root-flex.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-root-grid.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-root-ruby.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-root-table.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-select-1.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-select-2.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-span-dynamic.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-span.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
|
@ -0,0 +1,2 @@
|
|||
[content-none-table.html]
|
||||
prefs: [layout.css.element-content-none.enabled:true]
|
Загрузка…
Ссылка в новой задаче