Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 092303e2abb1e89254f64b301953ac0fbf36c681
      
https://github.com/WebKit/WebKit/commit/092303e2abb1e89254f64b301953ac0fbf36c681
  Author: Anne van Kesteren <ann...@annevk.nl>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M LayoutTests/fast/forms/ValidityState-patternMismatch-expected.txt
    M LayoutTests/fast/forms/ValidityState-patternMismatch.html
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-patternMismatch-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-patternMismatch.html
    A 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/reportValidity-crash.html
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/w3c-import.log
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/pattern_attribute-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/pattern_attribute.html
    M Source/JavaScriptCore/yarr/RegularExpression.cpp
    M Source/WebCore/html/BaseTextInputType.cpp

  Log Message:
  -----------
  HTML `pattern` attribute should set `v` flag for regular expressions
https://bugs.webkit.org/show_bug.cgi?id=251675
rdar://105268069

Reviewed by Yusuke Suzuki.

Make <input pattern> use Flags::UnicodeSets instead of Flags::Unicode
and encourage future callers of RegularExpression to do the same.

* LayoutTests/fast/forms/ValidityState-patternMismatch-expected.txt:
* LayoutTests/fast/forms/ValidityState-patternMismatch.html:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-patternMismatch-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-patternMismatch.html:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/reportValidity-crash.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/w3c-import.log:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/pattern_attribute-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/pattern_attribute.html:
* Source/JavaScriptCore/yarr/RegularExpression.cpp:
(JSC::Yarr::RegularExpression::Private::compile):
* Source/WebCore/html/BaseTextInputType.cpp:
(WebCore::BaseTextInputType::patternMismatch const):

Canonical link: https://commits.webkit.org/264245@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to