Closed Bug 290780 Opened 20 years ago Closed 20 years ago

FireFox does not recognise over line text.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: justin.storey, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

When a HTML file contains in it, instructions to over-line some text (as opposed
to underline) firefox does not know how to interpret this, and simply underlines it.

The over line feature is an available option in Microsoft FrontPage and
Microsoft Word etc.

Reproducible: Always

Steps to Reproduce:
1. Open Microsoft FrontPage
2. Enter some text.
3. Highlight the text, right click and select "font"
4. In the effects section, select "Overline"
5. Save the HTML file to somewhere, and open it with FireFox.
6. Try with Internet Explorer.

Actual Results:  
Got the mis-interpretation.

Expected Results:  
Overlined the text.
That URL includes two sections with |style="text-decoration: none overline"|,
which is an invalid declaration (text-decoration can be either one, but not
both), so according to CSS rules ("illegal values, or values with illegal parts,
are treated as if the declaration weren't there at all") we drop the
declaration, and a span around the period with |style="text-decoration:
overline"|, which we display with an overline.

It's a bug that FrontPage and Word output invalid HTML with invalid CSS, but
it's not a Firefox bug.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.