forked from mirrors/gecko-dev
Automatic update from web-platform-tests Properly disallow custom layout + multicol, attempt 2. CL:2964675 wasn't enough for fieldsets that attempted both multicol and custom layout, since the column properties are inherited by the anonymous fieldset contents wrapper (while custom layout isn't inherited). Move checks from CreateOrDestroyMultiColumnFlowThreadIfNeeded() to a separate method, so that the fieldset code can call it and make sure that we don't let the anonymous wrapper inherit column properties in custom layout. Also add a DCHECK to catch any remaining bugs like this earlier (when building the layout tree, rather than in paint). Bug: 1221885 Change-Id: Ibdf07cea4932e165fd15ccf131c1ab06984d7dd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2975442 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#894578} -- wpt-commits: eff11175076d956b4067cd6ebcc6e24fe6ee09b3 wpt-pr: 29448
8 lines
302 B
HTML
8 lines
302 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
|
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1221885">
|
|
<div style="columns:2;">
|
|
<fieldset style="display:layout(child-layout); columns:2;">
|
|
BOO!
|
|
</fieldset>
|
|
</div>
|