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

Unified Diff: Source/core/html/HTMLOptGroupElement.cpp

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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: Source/core/html/HTMLOptGroupElement.cpp
diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp
index b980d732bd56f4092e80e6d8018ef3d0c0c855f7..39fb79ce76639a0d4fca3291248e0b6278f26261 100644
--- a/Source/core/html/HTMLOptGroupElement.cpp
+++ b/Source/core/html/HTMLOptGroupElement.cpp
@@ -156,7 +156,7 @@ void HTMLOptGroupElement::didAddUserAgentShadowRoot(ShadowRoot& root)
root.appendChild(label);
RefPtrWillBeRawPtr<HTMLContentElement> content = HTMLContentElement::create(document());
- content->setAttribute(selectAttr, "option,optgroup");
+ content->setAttribute(selectAttr, "option,optgroup,hr");
root.appendChild(content);
}

Powered by Google App Engine
This is Rietveld 408576698