Closed
Bug 185366
Opened 23 years ago
Closed 23 years ago
error in test0.html
Categories
(Core Graveyard :: Viewer App, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Biesinger, Assigned: dcone)
References
()
Details
Attachments
(1 file)
|
824 bytes,
patch
|
dbaron
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
viewer startup shows this error:
CSS Error (resource:///res/samples/test0.html :11.14): Found trailing token
after pseudo-element, which must be the last part of a selector: ':'. Selector
expected. Ruleset ignored due to bad selector.
line 11 is this:
a:visited { color: red; }
character 14 is the 'c'
| Reporter | ||
Updated•23 years ago
|
| Reporter | ||
Comment 1•23 years ago
|
||
cc'ing some people who can maybe tell me what the error in that line is
a:first-line:visited { color: red; }
I have a bug on the fact that we count lines from the beginning of the style
element rather than the beginning of the HTML file. At least I think I do...
(Probably ":first-line a:visited" would work better anyway.)
Er, never mind. Pseudo-elements can only appear on the subject of the selector,
and :first-line only works on blocks, so you can't do that...
| Reporter | ||
Comment 5•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
Attachment #109303 -
Flags: superreview?(roc+moz)
Attachment #109303 -
Flags: review?(dbaron)
Attachment #109303 -
Flags: review?(dbaron) → review+
Comment on attachment 109303 [details] [diff] [review]
patch to remove that line
r+sr=roc+moz
Attachment #109303 -
Flags: superreview?(roc+moz) → superreview+
| Reporter | ||
Comment 7•23 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•