Closed Bug 197771 Opened 22 years ago Closed 22 years ago

[FIXr]text-align: "" treated as text-align: left

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

See testcase in attachment 108368 [details]. We should not be parsing that successfully if we do not support it.
Note also the code in nsRuleNode::ComputeTextData that has: 2369 else if (eCSSUnit_String == textData.mTextAlign.GetUnit()) { 2370 NS_NOTYETIMPLEMENTED("align string"); 2371 } So we really should not be parsing it... ;)
Attachment #117452 - Flags: superreview?(dbaron)
Attachment #117452 - Flags: review?(dbaron)
Attachment #117452 - Flags: superreview?(dbaron)
Attachment #117452 - Flags: superreview+
Attachment #117452 - Flags: review?(dbaron)
Attachment #117452 - Flags: review+
Summary: text-align: "" treated as text-align: left → [FIXr]text-align: "" treated as text-align: left
Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
verified. bug 2212 open for text-align: <string> issue
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: