Skip to content

Commit a6ee676

Browse files
RubyLB: Fix a crash in ShouldBeInlinified()
This fixes a regression by crrev.com/1439223. Parent's GetComputedStyle() can be nullptr. Fixed: 406999114 Change-Id: I90daa8e96230a775d88a4bbd1519531a08d87d54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6414328 Reviewed-by: Koji Ishii <[email protected]> Commit-Queue: Koji Ishii <[email protected]> Auto-Submit: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/main@{#1440098}
1 parent 778586c commit a6ee676

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css/css-ruby/ruby-inlinize-fieldset-crash.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@
66
</object>
77
</i>
88
<rt>ô6Ì9ºÍ¶æ</ruby>
9+
10+
<!-- The following is a testcase for a regression by the fix for the above.
11+
crbug.com/406999114 -->
12+
<svg style="display:none" id="ref-parent"><path id="ref"></path></svg>
13+
<ruby><svg><use xlink:href="#ref"/></svg></ruby>

0 commit comments

Comments
 (0)