Hi Team,

I am new to blink and I want to understand how and when css computation is 
done for every node and how to serialize that computed values. By 
computation I mean, after applying all possible rules apply to that 
node(own style, external style, insert rule, parent style, Pseudo element 
styles, Css Pseudo Elements etc).


I am trying to find one point in code from where I can pick final style for 
any node. also want to capture the updates of style for that node may be 
from same point in code or different. 

And if there is no single point from where I can get it, then can I have 
one point(class) from where I get all css_rules as vector for any document 
(Initial after parsing and all updates through various ways like 
insertRule, innerHtml change for style node etc)

Things I have already referred are as follows but couldn't identify linking 
after FrameLoader::FinishedParsing().

document.h - Chromium Code Search 
<https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/dom/document.h>

css_style_sheet.h - Chromium Code Search 
<https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/css_style_sheet.h;drc=1d2715064cc686e5eac4e41f34dbc212d47deff1;l=62>

style_sheet_contents.h - Chromium Code Search 
<https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/style_sheet_contents.h;drc=1d2715064cc686e5eac4e41f34dbc212d47deff1;l=55>

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9e340326-77a6-4812-9d50-a99e1406d863n%40chromium.org.

Reply via email to