Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8528,7 +8528,8 @@
/en-US/docs/Web/API/Document_Object_Model/Using_the_Document_Object_Model/Example /en-US/docs/Web/API/Document_Object_Model/Using_the_Document_Object_Model
/en-US/docs/Web/API/Document_Object_Model/Using_the_W3C_DOM_Level_1_Core /en-US/docs/Web/API/Document_Object_Model/Using_the_Document_Object_Model
/en-US/docs/Web/API/Document_Object_Model/Using_the_W3C_DOM_Level_1_Core/Example /en-US/docs/Web/API/Document_Object_Model/Using_the_Document_Object_Model
/en-US/docs/Web/API/Document_Object_Model/Whitespace_in_the_DOM /en-US/docs/Web/API/Document_Object_Model/Whitespace
/en-US/docs/Web/API/Document_Object_Model/Whitespace /en-US/docs/Web/CSS/CSS_text/Whitespace
/en-US/docs/Web/API/Document_Object_Model/Whitespace_in_the_DOM /en-US/docs/Web/CSS/CSS_text/Whitespace
/en-US/docs/Web/API/DoubleRange /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/DynamicsCompressorNode.attack /en-US/docs/Web/API/DynamicsCompressorNode/attack
/en-US/docs/Web/API/DynamicsCompressorNode.knee /en-US/docs/Web/API/DynamicsCompressorNode/knee
Expand Down Expand Up @@ -12811,7 +12812,7 @@
/en-US/docs/Web/Guide/API/DOM/The_structured_clone_algorithm /en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
/en-US/docs/Web/Guide/API/DOM/Using_dynamic_styling_information /en-US/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information
/en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode /en-US/docs/Web/API/Fullscreen_API
/en-US/docs/Web/Guide/API/DOM/Whitespace_in_the_DOM /en-US/docs/Web/API/Document_Object_Model/Whitespace
/en-US/docs/Web/Guide/API/DOM/Whitespace_in_the_DOM /en-US/docs/Web/CSS/CSS_text/Whitespace
/en-US/docs/Web/Guide/API/File System /en-US/docs/Web/API/File_System_API
/en-US/docs/Web/Guide/API/File System/Introduction /en-US/docs/Web/API/File_System_API
/en-US/docs/Web/Guide/API/Gamepad /en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
Expand Down Expand Up @@ -12892,7 +12893,7 @@
/en-US/docs/Web/Guide/DOM/The_structured_clone_algorithm /en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
/en-US/docs/Web/Guide/DOM/Using_dynamic_styling_information /en-US/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information
/en-US/docs/Web/Guide/DOM/Using_full_screen_mode /en-US/docs/Web/API/Fullscreen_API
/en-US/docs/Web/Guide/DOM/Whitespace_in_the_DOM /en-US/docs/Web/API/Document_Object_Model/Whitespace
/en-US/docs/Web/Guide/DOM/Whitespace_in_the_DOM /en-US/docs/Web/CSS/CSS_text/Whitespace
/en-US/docs/Web/Guide/Events /en-US/docs/Web/API/Document_Object_Model/Events
/en-US/docs/Web/Guide/Events/Creating_and_triggering_events /en-US/docs/Web/API/Document_Object_Model/Events
/en-US/docs/Web/Guide/Events/Event_dispatching_example /en-US/docs/Web/API/Document_Object_Model/Events
Expand Down Expand Up @@ -15523,7 +15524,7 @@
/en-US/docs/Web_development/Writing_forward-compatible_websites /en-US/docs/Learn_web_development/Core/Scripting/Debugging_JavaScript
/en-US/docs/What's_New_in_Deer_Park_Alpha /en-US/docs/Mozilla/Firefox/Releases/1.5/What_s_new_in_1.5_alpha
/en-US/docs/What_does_tracking_mean /en-US/docs/Web/HTTP/Reference/Headers/DNT
/en-US/docs/Whitespace_in_the_DOM /en-US/docs/Web/API/Document_Object_Model/Whitespace
/en-US/docs/Whitespace_in_the_DOM /en-US/docs/Web/CSS/CSS_text/Whitespace
/en-US/docs/WindowEventHandlers.onbeforeprint /en-US/docs/Web/API/Window/beforeprint_event
/en-US/docs/WindowEventHandlers.onbeforeunload /en-US/docs/Web/API/Window/beforeunload_event
/en-US/docs/WindowEventHandlers.onhashchange /en-US/docs/Web/API/Window/hashchange_event
Expand Down
52 changes: 26 additions & 26 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -29758,32 +29758,6 @@
"Gor1"
]
},
"Web/API/Document_Object_Model/Whitespace": {
"modified": "2020-03-27T15:25:12.263Z",
"contributors": [
"mfuji09",
"dev-nicolaos",
"chrisdavidmills",
"violasong",
"mfluehr",
"teoli",
"michaelnetbiz",
"ishita",
"Brettz9",
"Jeremie",
"Sheppy",
"jswisher",
"hectorsan68",
"ethertank",
"VK",
"Mgjbot",
"BobChao",
"Ptak82",
"NickolayBot",
"Dria",
"JesseW"
]
},
"Web/API/DragEvent": {
"modified": "2020-10-15T21:29:10.598Z",
"contributors": [
Expand Down Expand Up @@ -77489,6 +77463,32 @@
"teoli"
]
},
"Web/CSS/CSS_text/Whitespace": {
"modified": "2020-03-27T15:25:12.263Z",
"contributors": [
"mfuji09",
"dev-nicolaos",
"chrisdavidmills",
"violasong",
"mfluehr",
"teoli",
"michaelnetbiz",
"ishita",
"Brettz9",
"Jeremie",
"Sheppy",
"jswisher",
"hectorsan68",
"ethertank",
"VK",
"Mgjbot",
"BobChao",
"Ptak82",
"NickolayBot",
"Dria",
"JesseW"
]
},
"Web/CSS/CSS_text_decoration": {
"modified": "2020-07-07T12:27:11.406Z",
"contributors": [
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/glossary/whitespace/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ The [ECMAScript Language Specification](https://tc39.es/ecma262/multipage/ecmasc

## See also

- [Whitespace character](https://en.wikipedia.org/wiki/Whitespace_character) (Wikipedia)
- [How whitespace is handled by HTML, CSS, and in the DOM](/en-US/docs/Web/API/Document_Object_Model/Whitespace)
- [Whitespace character](https://en.wikipedia.org/wiki/Whitespace_character) on Wikipedia
- [Handling whitespace in CSS](/en-US/docs/Web/CSS/CSS_text/Whitespace)
- {{cssxref("white-space")}}
- Specifications
- Specifications:
- [ASCII whitespace spec](https://infra.spec.whatwg.org/#ascii-whitespace)
- [ECMAScript Language Specification](https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#sec-white-space)
- Related glossary terms:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ It has a DOM tree that looks like this:

![The DOM as a tree-like representation of a document that has a root and node elements containing content](using_the_w3c_dom_level_1_core-doctree.jpg)

Although the above tree is similar to the above document's DOM tree, it's not identical, as [the actual DOM tree preserves whitespace](/en-US/docs/Web/API/Document_Object_Model/Whitespace).
Although the above tree is similar to the above document's DOM tree, they're not identical, as the actual DOM tree preserves [whitespace](/en-US/docs/Web/CSS/CSS_text/Whitespace).

When a web browser parses an HTML document, it builds a DOM tree and then uses it to display the document.

Expand Down
Loading