Closed
Bug 1215702
Opened 9 years ago
Closed 9 years ago
remove backend-only CSS properties (marks, orphans, page, size, widows)
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: dbaron, Assigned: dbaron)
References
Details
(Keywords: dev-doc-complete, site-compat)
Attachments
(2 files)
14.12 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
25.71 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
We currently have support for parsing and storage, but not computation, of 5 CSS properties (marks, orphans, page, size, widows). Three of them were only ever intended to be used in @page rules and *not* in style rules. Additionally we're violating the CSS specs by parsing them (and accepting them in @supports) when we don't actually support them.
We should just remove the code. If we ever want to add some support for these properties, we can add the code back, without the complication of having to deal with half-implemented properties in the codebase (causing issues like bug 1215672).
Assignee | ||
Comment 1•9 years ago
|
||
We're violating http://www.w3.org/TR/CSS/#partial by leaving this
implementation in when we don't actually support the properties.
We're also incorrectly parsing marks and size in style rules rather than
@page rules; they were only intended for @page rules.
Attachment #8675171 -
Flags: review?(cam)
Assignee | ||
Comment 2•9 years ago
|
||
This is a mechanism that should not exist; any use of it means
nonconformance with http://www.w3.org/TR/CSS/#partial .
Attachment #8675172 -
Flags: review?(cam)
Assignee | ||
Comment 3•9 years ago
|
||
(I ran layout/style/test mochitests locally; they pass.)
Updated•9 years ago
|
Attachment #8675171 -
Flags: review?(cam) → review+
Updated•9 years ago
|
Attachment #8675172 -
Flags: review?(cam) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: dev-doc-needed
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d206c48d9e64
https://hg.mozilla.org/mozilla-central/rev/eabe8e45ac29
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Added the site compatibility doc just in case: https://www.fxsitecompat.com/en-US/docs/2015/several-unimplemented-css-properties-have-been-dropped/
Keywords: site-compat
Comment 8•9 years ago
|
||
I've updated:
https://developer.mozilla.org/en-US/Firefox/Releases/44#CSS
and make sure that we indicated that we don't support them on the pages of the three of these properties we have documentation for:
https://developer.mozilla.org/en-US/docs/Web/CSS/%40page/marks
https://developer.mozilla.org/en-US/docs/Web/CSS/orphans
https://developer.mozilla.org/en-US/docs/Web/CSS/widows
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•