HTMLMeterElement.cpp | 163 double HTMLMeterElement::optimum() const function in class:WebCore::HTMLMeterElement 165 double optimum = (max() + min()) / 2; local 166 parseToDoubleForNumberType(getAttribute(optimumAttr), &optimum); local 167 return std::min(std::max(optimum, min()), max()); 170 void HTMLMeterElement::setOptimum(double optimum, ExceptionCode& ec) 172 if (!isfinite(optimum)) { 176 setAttribute(optimumAttr, String::number(optimum)); 184 double optimumValue = optimum(); 187 // The optimum range stays under low 196 // The optimum range stays over hig [all...] |