Closed Bug 185366 Opened 23 years ago Closed 23 years ago

error in test0.html

Categories

(Core Graveyard :: Viewer App, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Biesinger, Assigned: dcone)

References

()

Details

Attachments

(1 file)

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'
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...
Attachment #109303 - Flags: superreview?(roc+moz)
Attachment #109303 - Flags: review?(dbaron)
Comment on attachment 109303 [details] [diff] [review] patch to remove that line r+sr=roc+moz
Attachment #109303 - Flags: superreview?(roc+moz) → superreview+
checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: