Closed
Bug 1048748
Opened 11 years ago
Closed 9 years ago
Document HTMLFontElement
Categories
(Developer Documentation Graveyard :: HTML, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: litimetal, Assigned: 2806rahul, Mentored)
References
()
Details
(Whiteboard: [good first bug][lang=js])
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
--snip of https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font ---
DOM interface
This element implements the HTMLFontElement interface.
------
And `HTMLFontElement` points to a dead link.
Updated•10 years ago
|
Component: MDN User Docs → HTML
Comment 1•10 years ago
|
||
Once HTMLFontElement will be documented, we will need to regenerate the page and the red link will become blue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Dead link ON https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font target:https://developer.mozilla.org/en-US/docs/DOM/HTMLFontElement → Document HTMLFontElement
Comment 2•10 years ago
|
||
f anybody wants to go ahead with this, I can mentor you!
The documentation about what to put in a property page is there: https://developer.mozilla.org/en-US/docs/MDN/Contribute/Howto/Write_an_API_reference
Assignee: eshepherd → nobody
Mentor: jypenator
Whiteboard: [good first bug][lang=js]
Comment 3•10 years ago
|
||
Hi
I would like to work on this bug. Can you please give me a little more information on what to do?
Comment 4•10 years ago
|
||
Sure.
You need to create the https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement page.
Its structure will be very similar to: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement (with a deprecation notice as the interface is deprecated)
It will list the three properties of the interface (see http://mxr.mozilla.org/mozilla-central/source/dom/webidl/HTMLFontElement.webidl and the spec: https://html.spec.whatwg.org/#htmlfontelement
Once this is done, the three subpages (one per property has to be created):
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size
A good example of structure for these pages are: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime
Hope it helps.
Assignee: nobody → chaitanya7991
Comment 5•10 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #4)
> Sure.
>
> You need to create the
> https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement page.
>
> Its structure will be very similar to:
> https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement (with a
> deprecation notice as the interface is deprecated)
>
> It will list the three properties of the interface (see
> http://mxr.mozilla.org/mozilla-central/source/dom/webidl/HTMLFontElement.
> webidl and the spec: https://html.spec.whatwg.org/#htmlfontelement
>
> Once this is done, the three subpages (one per property has to be created):
> https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color
> https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face
> https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size
>
> A good example of structure for these pages are:
> https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime
>
> Hope it helps.
Assignee: chaitanya7991 → nobody
Comment 6•10 years ago
|
||
Hey
Sorry, I 'm afraid I'll not be able to work on this.
Comment 7•10 years ago
|
||
No problem :-)
Comment 8•10 years ago
|
||
hello Jean, Please assign me this bug, I want to work on this. It is very similar to the bug I have recently solved! Thanks.
Comment 9•10 years ago
|
||
Hi Jean,
I am also interested in working on the bug.
Comment 10•10 years ago
|
||
Pratyush, given that Rakhi has still plenty of work to do on another bug, I'm assigning it to you.
Do you have enough information to start?
Assignee: nobody → pratyush.talreja
Flags: needinfo?(pratyush.talreja)
Comment 11•10 years ago
|
||
Jean, I want information on what needs to be done. I will do it.
Flags: needinfo?(pratyush.talreja)
Comment 12•10 years ago
|
||
Jean, I am following the steps you explained in Comment 4.
Updated•10 years ago
|
Assignee: pratyush.talreja → nobody
Comment 14•9 years ago
|
||
Sure Rahul!
Ask here any question you could have.
Assignee: nobody → 2806rahul
Flags: needinfo?(jypenator)
| Assignee | ||
Comment 15•9 years ago
|
||
By the way, how are you teoli?
You helped me in my first bug.
So, here is the link
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement
Which things I have to add more?
Flags: needinfo?(jypenator)
Comment 16•9 years ago
|
||
Hi! I'm fine!
You really need to use the same structure of https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement For consistency all interfaces pages should be the same.
Also see comment 2 and comment 4.
In the compat table, if you don't know which version it has been introduced, put {{CompatVersionUnknown}} and not a random version.
Finally, the task here will also include the subpages, but this can be done in a second phase.
Flags: needinfo?(jypenator)
| Assignee | ||
Comment 17•9 years ago
|
||
teoli I have edited as you have said.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement
Am I doing anything wrong?
What I have to do next?
Comment 18•9 years ago
|
||
Hi,
Is this bug still being worked on by Rahul? And if not I was wondering if I would be able to have a go at fixing it please?
Thank you
| Assignee | ||
Comment 19•9 years ago
|
||
(In reply to Alex from comment #18)
> Hi,
>
> Is this bug still being worked on by Rahul? And if not I was wondering if I
> would be able to have a go at fixing it please?
>
> Thank you
Yup, I'm done with this, feel free to work on this bug.
Comment 20•9 years ago
|
||
Thank you, I was just wondering if anybody could give me any guidance on how to develop these pages please?
Thanks again
| Assignee | ||
Comment 21•9 years ago
|
||
(In reply to Alex from comment #20)
> Thank you, I was just wondering if anybody could give me any guidance on how
> to develop these pages please?
>
> Thanks again
Please read comment 4 and 16.
Comment 22•9 years ago
|
||
@teoli I have added the properties and changes the formatting of the page to match HTMLTimeElement as suggested.
Unfortunately I do not have rights to create the subpages, could you please create them for me so I can finish this?
Thanks,
Theo
Flags: needinfo?(jypenator)
Comment 23•9 years ago
|
||
Update: I got the permission form mdn admins (I emailed them), so will be proceeding with the subpages. I have created the .color one https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color
Please check if it is satisfactory.
Theo
Flags: needinfo?(jypenator)
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
I believe work is finished here, can you check teoli?
Sphinx (on IRC) has helped me add tags too.
Flags: needinfo?(jypenator)
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jypenator)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•