content icon indicating copy to clipboard operation
content copied to clipboard

Possible description errors in "How whitespace is handled by HTML, CSS, and in the DOM" article

Open ktrNozomi opened this issue 4 years ago • 2 comments

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Whitespace

What specific section or headline is this issue about?

https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Whitespace#how_does_css_process_whitespace

What information was incorrect, unhelpful, or incomplete?

In the "Explanation" subsection, I notice the description doesn't correspond to the code.

Snipaste_2022-07-10_20-53-05

What did you expect to see?

I am not sure if the correct sentence is "And finally, sequences of spaces at the beginning and end of a line element are removed, so we finally get this:"

Do you have any supporting links, references, or citations?

No

Do you have anything more you want to share?

No

ktrNozomi avatar Jul 10 '22 13:07 ktrNozomi

I think element is a more appropriate word. Can I make a PR?

hiteshvijayhv avatar Jul 11 '22 03:07 hiteshvijayhv

I think element is a more appropriate word. Can I make a PR?

@hiteshvijayhv Please do

sideshowbarker avatar Jul 11 '22 06:07 sideshowbarker