Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp

Issue 1581173003: Allow to set display "inline" on legend element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix crash and modify test case Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
index 406d71f0bdece217b9e7e58b06cb659a1e67f55f..8fc8befea55ac327cf423f04da6528a498fadb97 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
@@ -388,11 +388,6 @@ void StyleAdjuster::adjustStyleForHTMLElement(ComputedStyle& style, const Comput
return;
}
- if (isHTMLLegendElement(element)) {
- style.setDisplay(BLOCK);
- return;
- }
-
if (isHTMLMarqueeElement(element)) {
// For now, <marquee> requires an overflow clip to work properly.
style.setOverflowX(OHIDDEN);

Powered by Google App Engine
This is Rietveld 408576698