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

Side by Side Diff: Source/core/html/HTMLOptionElement.h

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch (fixed test that was expected to fail and is now passing) Created 7 years, 6 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 unified diff | Download patch
« no previous file with comments | « Source/core/html/HTMLOptGroupElement.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) 2010 Google Inc. All rights reserved. 6 * Copyright (C) 2010 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 String textIndentedToRespectGroupLabel() const; 63 String textIndentedToRespectGroupLabel() const;
64 64
65 void setSelectedState(bool); 65 void setSelectedState(bool);
66 66
67 private: 67 private:
68 HTMLOptionElement(const QualifiedName&, Document*); 68 HTMLOptionElement(const QualifiedName&, Document*);
69 69
70 virtual bool supportsFocus() const; 70 virtual bool supportsFocus() const;
71 virtual bool isFocusable() const; 71 virtual bool isFocusable() const;
72 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } 72 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
73 virtual void attach(); 73 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
74 virtual void detach(); 74 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
75 75
76 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 76 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
77 77
78 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 78 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
79 virtual void accessKeyAction(bool); 79 virtual void accessKeyAction(bool);
80 80
81 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 81 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0);
82 82
83 // <option> never has a renderer so we manually manage a cached style. 83 // <option> never has a renderer so we manually manage a cached style.
84 void updateNonRenderStyle(); 84 void updateNonRenderStyle();
(...skipping 25 matching lines...) Expand all
110 inline const HTMLOptionElement* toHTMLOptionElement(const Node* node) 110 inline const HTMLOptionElement* toHTMLOptionElement(const Node* node)
111 { 111 {
112 return static_cast<const HTMLOptionElement*>(node); 112 return static_cast<const HTMLOptionElement*>(node);
113 } 113 }
114 114
115 #endif 115 #endif
116 116
117 } // namespace 117 } // namespace
118 118
119 #endif 119 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLOptGroupElement.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698