Closed
Bug 573356
Opened 16 years ago
Closed 16 years ago
Implement the figure and figcaption elements
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla2.0b1
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
()
Details
(Keywords: dev-doc-complete, html5)
Attachments
(1 file, 3 obsolete files)
|
13.59 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Attachment #452564 -
Flags: review?(jst)
| Assignee | ||
Comment 1•16 years ago
|
||
Comment on attachment 452564 [details] [diff] [review]
Patch v1
timeless, could you review the editor parts?
Attachment #452564 -
Flags: review?(timeless)
Comment on attachment 452564 [details] [diff] [review]
Patch v1
>diff --git a/content/base/src/nsGkAtomList.h b/content/base/src/nsGkAtomList.h
>+GK_ATOM(figure, "figure")
>+GK_ATOM(figcaption, "figcaption")
this isn't sorted correctly.
>diff --git a/editor/libeditor/base/nsEditPropertyAtomList.h b/editor/libeditor/base/nsEditPropertyAtomList.h
>@@ -120,16 +120,18 @@ EDITOR_ATOM(address, "address")
> EDITOR_ATOM(address, "address")
..
> EDITOR_ATOM(footer, "footer")
..
> EDITOR_ATOM(section, "section")
>+EDITOR_ATOM(figure, "figure")
>+EDITOR_ATOM(figcaption, "figcaption")
odd sorting, and what's the logic to stick this here?
| Assignee | ||
Comment 3•16 years ago
|
||
Now with saner sorting. Thanks, timeless
Attachment #452564 -
Attachment is obsolete: true
Attachment #452590 -
Flags: review?(jst)
Attachment #452564 -
Flags: review?(timeless)
Attachment #452564 -
Flags: review?(jst)
| Assignee | ||
Updated•16 years ago
|
Attachment #452590 -
Flags: review?(timeless)
Attachment #452590 -
Flags: review?(timeless) → review+
Comment 4•16 years ago
|
||
Comment on attachment 452590 [details] [diff] [review]
Patch v2
Looks good to me, but I'd like Ehsan to have a look at the editor changes here.
Attachment #452590 -
Flags: review?(jst)
Attachment #452590 -
Flags: review?(ehsan)
Attachment #452590 -
Flags: review+
Comment 5•16 years ago
|
||
Comment on attachment 452590 [details] [diff] [review]
Patch v2
The figcaption element cannot contain itself.
Attachment #452590 -
Flags: review?(ehsan) → review-
Comment 6•16 years ago
|
||
Which means, the third parameter to the ELEM macro should be PR_FALSE.
| Assignee | ||
Comment 7•16 years ago
|
||
Thanks, fixed that.
Attachment #452590 -
Attachment is obsolete: true
Attachment #452984 -
Flags: review?(ehsan)
Updated•16 years ago
|
Attachment #452984 -
Flags: review?(ehsan) → review+
| Assignee | ||
Comment 8•16 years ago
|
||
r=jst+timeless+ehsan.
Attachment #452984 -
Attachment is obsolete: true
| Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 9•16 years ago
|
||
Assuming this needs to be documented, so adding dev-doc-needed.
http://hg.mozilla.org/mozilla-central/rev/40de8e1a9f13
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed → dev-doc-needed
Resolution: --- → FIXED
Updated•16 years ago
|
Target Milestone: --- → mozilla1.9.3a6
Comment 10•16 years ago
|
||
It's not defined how MACRO(..., ) with an empty argument expands; filed bug 574078 on not doing that, CC'd the people who seem to have touched nsHTMLTagList.h recently.
Updated•16 years ago
|
Summary: Implement the figure element → Implement the figure and figcaption elements
Comment 11•16 years ago
|
||
Documentation added.
For the figcaption element: https://developer.mozilla.org/en/HTML/Element/figcaption
For the figure element: https://developer.mozilla.org/en/HTML/Element/figure
Both pages are linked from the relevant pages (Element, Firefox 4 for Developers, HTML5)
(If someone can change dev-doc-needed to dev-doc-complete, it would be nice)
| Assignee | ||
Updated•16 years ago
|
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•