Closed
Bug 15432
Opened 26 years ago
Closed 26 years ago
'run-in' and 'compact' should not be recognised by CSS parser
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
FIXED
People
(Reporter: ian, Assigned: pierre)
References
Details
(Keywords: css1)
If 'display:run-in' and 'display:compact' are not implemented, then the entire
'display' declaration in which they occur should be ignored. That is so that
authors can easily work around this lack of feature.
NOTE! THIS IS CURRENTLY A BUG!
i.e., currently, the following:
* { display: inline; }
H2 { display: run-in; }
DL[compact] { display: compact; }
...displays <H2> and <DL compact> elements as block level, not inline level,
elements. It should not, since these values are not supported. We should either
support these values, or totally ignore the declarations using them. This is
due to the forward-compatability parsing rules: if a feature is not supported,
then the declaration should be ignored.
If run-in and compact are going to be implemented, then this bug is invalid. If
they are not going to be implemented, though, then this should be fixed before
release.
'display:compact' support is covered by bug 2055.
'display:run-in' support is covered by bug 2056.
![]() |
||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M20
![]() |
||
Comment 1•26 years ago
|
||
Good point. Deferring until just before release. I don't want to turn things off
just yet...
![]() |
Assignee | |
Comment 2•26 years ago
|
||
Reassigning peterl's bugs to myself.
![]() |
Assignee | |
Comment 3•26 years ago
|
||
Accepting peterl's bugs that have a Target Milestone
Reporter | ||
Comment 4•26 years ago
|
||
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz}
radars should now be considered deprecated in favour of keywords.
I am *really* sorry about the spam...
![]() |
||
Updated•26 years ago
|
Summary: {css1} 'run-in' and 'compact' should not be recognised by CSS parser → 'run-in' and 'compact' should not be recognised by CSS parser
This *is* bug 15432.
OK... now that I look at my diffs more closely, I see you meant bug 14983.
Comment 8•26 years ago
|
||
Yes, sorry.
They're both important though ... :)
![]() |
Assignee | |
Comment 9•26 years ago
|
||
Fix checked in nsCSSParser.cpp. Display:marker/run-in/compact are not supported.
The parser drops any declaration that contains one of these display types.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
![]() |
Assignee | |
Comment 10•26 years ago
|
||
![]() |
||
Comment 11•25 years ago
|
||
Using the following builds:
Win: 07_20_08
Mac: 07_19_12
Linux: 07_20_09
verified 'run-in' and 'compact' not recognized. Marking bug verified fixed.
Status: RESOLVED → VERIFIED
![]() |
||
Comment 12•23 years ago
|
||
*** Bug 189468 has been marked as a duplicate of this bug. ***
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•