Closed
Bug 1055676
(ruby-align)
Opened 10 years ago
Closed 10 years ago
implement CSS 'ruby-align' property
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: dbaron, Assigned: xidorn)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(5 files)
13.73 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
5.53 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
8.86 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
4.19 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
5.51 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
I'm filing this as a bug on implementing the CSS ruby-align property:
http://dev.w3.org/csswg/css-ruby/#ruby-align-property
I think we probably don't need to do this in order to ship CSS Ruby, although I'm willing to entertain arguments to the contrary.
Updated•10 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → quanxunzhen
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
I'm going to implement the actually alignment inside PropertyProvider of nsTextFrame. The reason is that we have to expand spacing of characters instead of only the width of frames, so that the continuity of selection can be kept.
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
I'm going to merge nsRuby{Base,Text}Frame to one super class, as behaviors of them are mostly identical in the given box model. What do you think is the proper name for that class? Maybe nsRubyContentFrame or something?
Flags: needinfo?(dbaron)
Reporter | ||
Comment 3•10 years ago
|
||
It might make sense to use nsRubyTextFrame as the common name, although I'd be ok with nsRubyContentFrame.
Flags: needinfo?(dbaron)
Assignee | ||
Comment 4•10 years ago
|
||
We probably need to implement this before implementing inter-character ruby.
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8564792 -
Flags: review?(roc)
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8564793 -
Flags: review?(roc)
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8564794 -
Flags: review?(roc)
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8564795 -
Flags: review?(roc)
Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8564796 -
Flags: review?(roc)
Comment on attachment 8564792 [details] [diff] [review]
patch 1 - Parse and compute ruby-align
Review of attachment 8564792 [details] [diff] [review]:
-----------------------------------------------------------------
Better get someone else to review style system patches :-)
Attachment #8564792 -
Flags: review?(roc) → review?(cam)
Attachment #8564793 -
Flags: review?(roc) → review+
Attachment #8564794 -
Flags: review?(roc) → review+
Attachment #8564795 -
Flags: review?(roc) → review+
Attachment #8564796 -
Flags: review?(roc) → review+
Comment 11•10 years ago
|
||
Comment on attachment 8564792 [details] [diff] [review]
patch 1 - Parse and compute ruby-align
Review of attachment 8564792 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/style/nsComputedDOMStyle.cpp
@@ +3077,5 @@
>
> CSSValue*
> +nsComputedDOMStyle::DoGetRubyAlign()
> +{
> + nsROCSSPrimitiveValue *val = new nsROCSSPrimitiveValue;
"*" next to type please.
Attachment #8564792 -
Flags: review?(cam) → review+
Assignee | ||
Comment 12•10 years ago
|
||
Assignee | ||
Comment 13•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/25727d649887
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f463490055c
https://hg.mozilla.org/integration/mozilla-inbound/rev/2a4062a1ebfe
https://hg.mozilla.org/integration/mozilla-inbound/rev/309115dcfc7f
https://hg.mozilla.org/integration/mozilla-inbound/rev/a3d40211baa5
Comment 14•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/25727d649887
https://hg.mozilla.org/mozilla-central/rev/3f463490055c
https://hg.mozilla.org/mozilla-central/rev/2a4062a1ebfe
https://hg.mozilla.org/mozilla-central/rev/309115dcfc7f
https://hg.mozilla.org/mozilla-central/rev/a3d40211baa5
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 15•10 years ago
|
||
Documentation has been done:
https://developer.mozilla.org/en-US/docs/Web/CSS/ruby-align
and
https://developer.mozilla.org/en-US/Firefox/Releases/38#CSS
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•