Closed Bug 677582 Opened 13 years ago Closed 13 years ago

Implement CSS3 text-overflow: <left> <right>

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

()

Details

(Keywords: css3, dev-doc-complete, Whiteboard: [css3-ui][inbound])

Attachments

(3 files)

Our proposed two-value syntax "text-overflow: <left> <right>" has now
been added to the spec (at risk).  This bug is for resurrecting the
patches from bug 312156 to implement it.

http://dev.w3.org/csswg/css3-ui/#text-overflow
David, I think you have already reviewed this once in bug 312156.
Attachment #551815 - Flags: review?(dbaron)
Attached patch part 2, layoutSplinter Review
IIRC, this was already reviewed in bug 312156 too, before we took it out.
Attachment #551816 - Flags: review?(roc)
Attached patch part 3, testsSplinter Review
Reftests testing separate left/right values.
Attachment #551817 - Flags: review?(roc)
Keywords: dev-doc-needed
Comment on attachment 551815 [details] [diff] [review]
part 1, style system

>Bug 677582 - Implement CSS3 text-overflow: <left> <right>.  r=dbaron

Don't use the same commit message for multiple patches.  Including " in 
the style system" before the end of the sentence would suffice in this
case.


nsRuleNode.cpp:

>+  // text-overflow: enum, string, pair(enum|string), inherit, initial

It's misleading to list enum, string twice, since they can only be in a
pair.

r=dbaron with that
Attachment #551815 - Flags: review?(dbaron) → review+
Depends on: 681489
Mats, if I understand things right, spec and implementation will change very soon?
I removed "dev-doc-needed" keyword to avoid wrong documentation. Please re-add here when you reopen this or add it to the new bug.
Keywords: dev-doc-needed
For MDN docs:
Bug 684266 changed behaviour and will likely land on Mozilla 9.
The relevant and implemented spec is in URL field.
Depends on: 684266
Keywords: dev-doc-needed
I've updated https://developer.mozilla.org/en/CSS/text-overflow .
It would be nice if somebody can do a technical review of it wrt this bug and bug 684266.

Then I'll update Firefox 9 for developers. (and Fx10 for bug 684266)
I've gone ahead and added it to Firefox 9 for developers; more likely to get a review this way. Also added NeedsTechnicalReview to the page.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: