Closed Bug 1048748 Opened 10 years ago Closed 7 years ago

Document HTMLFontElement

Categories

(Developer Documentation Graveyard :: HTML, defect, P5)

All
Other
defect

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.
Component: MDN User Docs → HTML
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
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]
Hi 
  I would like to work on this bug. Can you please give me a little more information on what to do?
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
(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
Hey
   Sorry, I 'm afraid I'll not be able to work on this.
No problem :-)
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.
Hi Jean,

I am also interested in working on the bug.
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)
Jean, I want information on what needs to be done. I will do it.
Flags: needinfo?(pratyush.talreja)
Jean, I am following the steps you explained in Comment 4.
Assignee: pratyush.talreja → nobody
hi teoli,

can I take this bug ?
Flags: needinfo?(jypenator)
Sure Rahul!

Ask here any question you could have.
Assignee: nobody → 2806rahul
Flags: needinfo?(jypenator)
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)
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)
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?
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
(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.
Thank you, I was just wondering if anybody could give me any guidance on how to develop these pages please?

Thanks again
(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.
@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)
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)
I believe work is finished here, can you check teoli?

Sphinx (on IRC) has helped me add tags too.
Flags: needinfo?(jypenator)
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jypenator)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.