Commit 6e9786b5 authored by Morten Stenshorne's avatar Morten Stenshorne Committed by Commit Bot

[LayoutNG] Remove unfinished multicol+fieldset code.

Didn't intend to submit this.

TBR=cbiesinger@chromium.org

Bug: 875235
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: Iaadb3d155e24d3b15e5ccd5586c052d316131540
Reviewed-on: https://chromium-review.googlesource.com/1253981
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: default avatarChristian Biesinger <cbiesinger@chromium.org>
Reviewed-by: default avatarMorten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595426}
parent ed040aad
...@@ -56,11 +56,6 @@ void LayoutNGFieldset::AddChild(LayoutObject* new_child, ...@@ -56,11 +56,6 @@ void LayoutNGFieldset::AddChild(LayoutObject* new_child,
// TODO(mstensho): Inherit all properties listed here: // TODO(mstensho): Inherit all properties listed here:
// https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements // https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements
// We need to enter legacy layout from this point on, if ...
if (!RuntimeEnabledFeatures::LayoutNGBlockFragmentationEnabled() &&
new_style->SpecifiesColumns())
new_style->SetForceLegacyLayout(true);
fieldset_content = LayoutBlock::CreateAnonymousWithParentAndDisplay( fieldset_content = LayoutBlock::CreateAnonymousWithParentAndDisplay(
this, new_style->Display()); this, new_style->Display());
fieldset_content->SetStyle(std::move(new_style)); fieldset_content->SetStyle(std::move(new_style));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment