Questions tagged [dom]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
52 views

Does content ordering still matter for SEO?

In the past it was encouraged to put things like navigation bars as low as possible on the DOM even if they would be displayed at the top of the page (e.g. with CSS position fixed) That way the actual ...
webmain's user avatar
  • 159
0 votes
2 answers
29 views

Why is margin box said to be box around all other boxes? [closed]

One thing i cant understand when it comes to elements boxes is the margin box. For example mdn web docks defines it as follow : "Margin box: The margin is the outermost layer, wrapping the ...
KeeperOfDs's user avatar
1 vote
1 answer
39 views

Where are HTML 5's Document Tree Definitions

I am looking to understand the official fundamentals of HTML document tree creation. There are numerous examples of HTML document trees on the web however I have not been able to find formal or ...
user7420124's user avatar
4 votes
1 answer
671 views

Chrome bug: headless window not rendered (new tab in background) if outerWidth is referenced

[see updates at bottom] When I click on a to my website, it opens correctly in Google Chrome. When I command-click the link, opening a new tab in the background, the page seems to load (correct ...
Andy Swift's user avatar
4 votes
0 answers
211 views

Using display: none VS a SPA approach, when it comes to SEO and performance

Say I have a component like, // first approach (SPA) const Component = () => { const [show, toggle] = React.useReducer(show => !show, false) return ( <div> {show && &...
legoMyEgo's user avatar
6 votes
1 answer
4k views

DOMContentLoaded vs. 'load' event vs. "Finish"

I understand that the Difference between DOMContentLoaded and load events, has already been answered, and as such it explains the last two values (1.40s, 4.66s) from Developer Tools, but if the 'load' ...
marko-36's user avatar
  • 405