mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 23:12:21 +00:00
9d22e42a58
appearance during printing. Now returns value of file upload element in nsHTMLInputElement::GetValue. Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css. Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the position and size of the button to paint. Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to paint the file upload's button and text field using settings in ua.css Added nsFileControlFrame::HasWidget utility method. Added nsFormControlHelper::GetInputElementValue to get the current value of an input element from the DOM. Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position and size of the text control to paint. Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the position and size of the text control background to paint.