mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 12:44:43 +00:00
webapi.Element: make getCssProperties private
Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
@@ -1053,7 +1053,7 @@ pub const CssProperties = struct {
|
||||
|
||||
pub const CssCache = std.AutoHashMapUnmanaged(*Element, CssProperties);
|
||||
|
||||
pub fn getCssProperties(el: *Element, page: *Page, doc_sheets: ?*StyleSheetList, cache: ?*CssCache) CssProperties {
|
||||
fn getCssProperties(el: *Element, page: *Page, doc_sheets: ?*StyleSheetList, cache: ?*CssCache) CssProperties {
|
||||
if (cache) |c| {
|
||||
if (c.get(el)) |props| return props;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user