Changeset 169335 in webkit
- Timestamp:
- May 26, 2014 2:50:18 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r169334 r169335 1 2014-05-26 Michał Pakuła vel Rutka <m.pakula@samsung.com> 2 3 [EFL] Input fields and text areas are not rendered correctly after r167771 4 https://bugs.webkit.org/show_bug.cgi?id=133181 5 6 Reviewed by Gyuyoung Kim. 7 8 * platform/efl-wk2/TestExpectations: Remove now passing test from test expectations. 9 1 10 2014-05-20 Sergio Villar Senin <svillar@igalia.com> 2 11 -
trunk/LayoutTests/platform/efl-wk2/TestExpectations
r169202 r169335 560 560 561 561 webkit.org/b/132049 fast/css3-text/css3-text-decoration/text-decoration-skip/glyph-inside-underline.html [ ImageOnlyFailure ] 562 563 webkit.org/b/133181 fast/forms/textarea-placeholder-wrapping.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r169334 r169335 1 2014-05-26 Michał Pakuła vel Rutka <m.pakula@samsung.com> 2 3 [EFL] Input fields and text areas are not rendered correctly after r167771 4 https://bugs.webkit.org/show_bug.cgi?id=133181 5 6 Reviewed by Gyuyoung Kim. 7 8 r167771 changed arguments of RenderTheme two virtual method arguments which were not reflected 9 in changes in derived classes, which caused parent method to be called. Arguments in derived class 10 were updated, also 'override' specifiers were added to all virtual methods to prevent similar errors. 11 12 Already covered by fast/forms/textarea-placeholder-wrapping.html 13 14 * platform/efl/RenderThemeEfl.cpp: 15 (WebCore::RenderThemeEfl::paintTextField): 16 (WebCore::RenderThemeEfl::paintTextArea): 17 * platform/efl/RenderThemeEfl.h: 18 (WebCore::RenderThemeEfl::supportsHover): 19 (WebCore::RenderThemeEfl::supportsControlTints): 20 1 21 2014-05-20 Sergio Villar Senin <svillar@igalia.com> 2 22 -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp
r168601 r169335 879 879 } 880 880 881 bool RenderThemeEfl::paintTextField(const RenderObject& object, const PaintInfo& info, const IntRect& rect)882 { 883 return paintThemePart(object, TextField, info, rect);881 bool RenderThemeEfl::paintTextField(const RenderObject& object, const PaintInfo& info, const FloatRect& rect) 882 { 883 return paintThemePart(object, TextField, info, IntRect(rect)); 884 884 } 885 885 … … 888 888 } 889 889 890 bool RenderThemeEfl::paintTextArea(const RenderObject& object, const PaintInfo& info, const IntRect& rect)890 bool RenderThemeEfl::paintTextArea(const RenderObject& object, const PaintInfo& info, const FloatRect& rect) 891 891 { 892 892 return paintTextField(object, info, rect); -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.h
r168601 r169335 61 61 }; 62 62 63 class RenderThemeEfl : public RenderTheme {63 class RenderThemeEfl final : public RenderTheme { 64 64 private: 65 65 explicit RenderThemeEfl(Page*); 66 ~RenderThemeEfl();66 virtual ~RenderThemeEfl(); 67 67 68 68 public: … … 70 70 71 71 // A method asking if the theme's controls actually care about redrawing when hovered. 72 virtual bool supportsHover(const RenderStyle*) const { return true; }72 virtual bool supportsHover(const RenderStyle*) const override { return true; } 73 73 74 74 // A method Returning whether the control is styled by css or not e.g specifying background-color. 75 virtual bool isControlStyled(const RenderStyle*, const BorderData&, const FillLayer&, const Color& backgroundColor) const ;75 virtual bool isControlStyled(const RenderStyle*, const BorderData&, const FillLayer&, const Color& backgroundColor) const override; 76 76 77 77 // A method asking if the theme is able to draw the focus ring. 78 virtual bool supportsFocusRing(const RenderStyle*) const ;78 virtual bool supportsFocusRing(const RenderStyle*) const override; 79 79 80 80 // A method asking if the control changes its tint when the window has focus or not. 81 virtual bool controlSupportsTints(const RenderObject&) const ;81 virtual bool controlSupportsTints(const RenderObject&) const override; 82 82 83 83 // A general method asking if any control tinting is supported at all. 84 virtual bool supportsControlTints() const { return true; }84 virtual bool supportsControlTints() const override { return true; } 85 85 86 86 // A general method asking if foreground colors of selection are supported. 87 virtual bool supportsSelectionForegroundColors() const ;87 virtual bool supportsSelectionForegroundColors() const override; 88 88 89 89 // A method to obtain the baseline position for a "leaf" control. This will only be used if a baseline 90 90 // position cannot be determined by examining child content. Checkboxes and radio buttons are examples of 91 91 // controls that need to do this. 92 virtual int baselinePosition(const RenderObject&) const ;93 94 virtual Color platformActiveSelectionBackgroundColor() const ;95 virtual Color platformInactiveSelectionBackgroundColor() const ;96 virtual Color platformActiveSelectionForegroundColor() const ;97 virtual Color platformInactiveSelectionForegroundColor() const ;98 virtual Color platformFocusRingColor() const ;92 virtual int baselinePosition(const RenderObject&) const override; 93 94 virtual Color platformActiveSelectionBackgroundColor() const override; 95 virtual Color platformInactiveSelectionBackgroundColor() const override; 96 virtual Color platformActiveSelectionForegroundColor() const override; 97 virtual Color platformInactiveSelectionForegroundColor() const override; 98 virtual Color platformFocusRingColor() const override; 99 99 100 100 // Set platform colors; remember to call platformColorDidChange after. … … 109 109 110 110 // System fonts. 111 virtual void systemFont(CSSValueID, FontDescription&) const ;112 113 virtual void adjustCheckboxStyle(StyleResolver*, RenderStyle*, Element*) const ;114 virtual bool paintCheckbox(const RenderObject&, const PaintInfo&, const IntRect&) ;115 116 virtual void adjustRadioStyle(StyleResolver*, RenderStyle*, Element*) const ;117 virtual bool paintRadio(const RenderObject&, const PaintInfo&, const IntRect&) ;118 119 virtual void adjustButtonStyle(StyleResolver*, RenderStyle*, Element*) const ;120 virtual bool paintButton(const RenderObject&, const PaintInfo&, const IntRect&) ;121 122 virtual void adjustTextFieldStyle(StyleResolver*, RenderStyle*, Element*) const ;123 virtual bool paintTextField(const RenderObject&, const PaintInfo&, const IntRect&);124 125 virtual void adjustTextAreaStyle(StyleResolver*, RenderStyle*, Element*) const ;126 virtual bool paintTextArea(const RenderObject&, const PaintInfo&, const IntRect&);127 128 virtual void adjustMenuListStyle(StyleResolver*, RenderStyle*, Element*) const ;129 virtual bool paintMenuList(const RenderObject&, const PaintInfo&, const IntRect&) ;130 131 virtual void adjustMenuListButtonStyle(StyleResolver*, RenderStyle*, Element*) const ;132 virtual bool paintMenuListButtonDecorations(const RenderObject&, const PaintInfo&, const FloatRect&) ;133 134 virtual void adjustSearchFieldResultsDecorationPartStyle(StyleResolver*, RenderStyle*, Element*) const ;135 virtual bool paintSearchFieldResultsDecorationPart(const RenderObject&, const PaintInfo&, const IntRect&) ;136 137 virtual void adjustSearchFieldStyle(StyleResolver*, RenderStyle*, Element*) const ;138 virtual bool paintSearchField(const RenderObject&, const PaintInfo&, const IntRect&) ;139 140 virtual void adjustSearchFieldResultsButtonStyle(StyleResolver*, RenderStyle*, Element*) const ;141 virtual bool paintSearchFieldResultsButton(const RenderObject&, const PaintInfo&, const IntRect&) ;142 143 virtual void adjustSearchFieldCancelButtonStyle(StyleResolver*, RenderStyle*, Element*) const ;144 virtual bool paintSearchFieldCancelButton(const RenderObject&, const PaintInfo&, const IntRect&) ;145 146 virtual void adjustSliderTrackStyle(StyleResolver*, RenderStyle*, Element*) const ;147 virtual bool paintSliderTrack(const RenderObject&, const PaintInfo&, const IntRect&) ;148 149 virtual void adjustSliderThumbStyle(StyleResolver*, RenderStyle*, Element*) const ;150 151 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const ;111 virtual void systemFont(CSSValueID, FontDescription&) const override; 112 113 virtual void adjustCheckboxStyle(StyleResolver*, RenderStyle*, Element*) const override; 114 virtual bool paintCheckbox(const RenderObject&, const PaintInfo&, const IntRect&) override; 115 116 virtual void adjustRadioStyle(StyleResolver*, RenderStyle*, Element*) const override; 117 virtual bool paintRadio(const RenderObject&, const PaintInfo&, const IntRect&) override; 118 119 virtual void adjustButtonStyle(StyleResolver*, RenderStyle*, Element*) const override; 120 virtual bool paintButton(const RenderObject&, const PaintInfo&, const IntRect&) override; 121 122 virtual void adjustTextFieldStyle(StyleResolver*, RenderStyle*, Element*) const override; 123 virtual bool paintTextField(const RenderObject&, const PaintInfo&, const FloatRect&) override; 124 125 virtual void adjustTextAreaStyle(StyleResolver*, RenderStyle*, Element*) const override; 126 virtual bool paintTextArea(const RenderObject&, const PaintInfo&, const FloatRect&) override; 127 128 virtual void adjustMenuListStyle(StyleResolver*, RenderStyle*, Element*) const override; 129 virtual bool paintMenuList(const RenderObject&, const PaintInfo&, const IntRect&) override; 130 131 virtual void adjustMenuListButtonStyle(StyleResolver*, RenderStyle*, Element*) const override; 132 virtual bool paintMenuListButtonDecorations(const RenderObject&, const PaintInfo&, const FloatRect&) override; 133 134 virtual void adjustSearchFieldResultsDecorationPartStyle(StyleResolver*, RenderStyle*, Element*) const override; 135 virtual bool paintSearchFieldResultsDecorationPart(const RenderObject&, const PaintInfo&, const IntRect&) override; 136 137 virtual void adjustSearchFieldStyle(StyleResolver*, RenderStyle*, Element*) const override; 138 virtual bool paintSearchField(const RenderObject&, const PaintInfo&, const IntRect&) override; 139 140 virtual void adjustSearchFieldResultsButtonStyle(StyleResolver*, RenderStyle*, Element*) const override; 141 virtual bool paintSearchFieldResultsButton(const RenderObject&, const PaintInfo&, const IntRect&) override; 142 143 virtual void adjustSearchFieldCancelButtonStyle(StyleResolver*, RenderStyle*, Element*) const override; 144 virtual bool paintSearchFieldCancelButton(const RenderObject&, const PaintInfo&, const IntRect&) override; 145 146 virtual void adjustSliderTrackStyle(StyleResolver*, RenderStyle*, Element*) const override; 147 virtual bool paintSliderTrack(const RenderObject&, const PaintInfo&, const IntRect&) override; 148 149 virtual void adjustSliderThumbStyle(StyleResolver*, RenderStyle*, Element*) const override; 150 151 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const override; 152 152 153 153 #if ENABLE(DATALIST_ELEMENT) … … 159 159 virtual bool supportsDataListUI(const AtomicString&) const override; 160 160 161 virtual bool paintSliderThumb(const RenderObject&, const PaintInfo&, const IntRect&) ;162 163 virtual void adjustInnerSpinButtonStyle(StyleResolver*, RenderStyle*, Element*) const ;164 virtual bool paintInnerSpinButton(const RenderObject&, const PaintInfo&, const IntRect&) ;161 virtual bool paintSliderThumb(const RenderObject&, const PaintInfo&, const IntRect&) override; 162 163 virtual void adjustInnerSpinButtonStyle(StyleResolver*, RenderStyle*, Element*) const override; 164 virtual bool paintInnerSpinButton(const RenderObject&, const PaintInfo&, const IntRect&) override; 165 165 166 166 static void setDefaultFontSize(int fontsize); 167 167 168 168 #if ENABLE(PROGRESS_ELEMENT) 169 virtual void adjustProgressBarStyle(StyleResolver*, RenderStyle*, Element*) const ;170 virtual bool paintProgressBar(const RenderObject&, const PaintInfo&, const IntRect&) ;171 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const ;172 virtual double animationDurationForProgressBar(RenderProgress*) const ;169 virtual void adjustProgressBarStyle(StyleResolver*, RenderStyle*, Element*) const override; 170 virtual bool paintProgressBar(const RenderObject&, const PaintInfo&, const IntRect&) override; 171 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const override; 172 virtual double animationDurationForProgressBar(RenderProgress*) const override; 173 173 #endif 174 174 175 175 #if ENABLE(VIDEO) 176 virtual String mediaControlsStyleSheet() ;177 virtual String mediaControlsScript() ;176 virtual String mediaControlsStyleSheet() override; 177 virtual String mediaControlsScript() override; 178 178 #endif 179 179 #if ENABLE(VIDEO_TRACK)
Note: See TracChangeset
for help on using the changeset viewer.