[blink-dev] Ready for Developer Testing: document.caretPositionFromPoint API

2024-03-08 Thread 'Siye Liu' via blink-dev
Contact emails si...@microsoft.com, sa...@microsoft.com Explainer None Specification https://www.w3.org/TR/cssom-view-1/#dom-document-caretpositionfrompoint Summary This new API allows users to get current caret position from a given screen point. The API returns a CaretPosition object which

Re: [blink-dev] Re: Intent to Prototype: document.caretPositionFromPoint API

2024-01-24 Thread 'Siye Liu' via blink-dev
ike something that should be reflected in the specs. Again, not >>> directly related to this Intent, but maybe something that should happen in >>> parallel. >>> >>> /Daniel >>> On 2024-01-17 23:38, 'Siye Liu' via blink-dev wrote: >>> &

Re: [blink-dev] Re: Intent to Prototype: document.caretPositionFromPoint API

2024-01-17 Thread 'Siye Liu' via blink-dev
e connected forward or backwards (basically a bool) > in the dom element, but maybe this is solved in some other way now? > > /Daniel > On 2024-01-16 18:31, 'Siye Liu' via blink-dev wrote: > > Hi Brian, > > To answer your question, > 1. This prototype only covers th

[blink-dev] Re: Intent to Prototype: document.caretPositionFromPoint API

2024-01-16 Thread 'Siye Liu' via blink-dev
Hi Brian, To answer your question, 1. This prototype only covers the main dom scenario (https://crbug.com/388976). Shadow dom scenario is tracked in https://crbug.com/1514810. 2. The prototype should have similar behavior as caretRangeFromPoint's implementation in Blink (when the point is over

[blink-dev] Intent to Prototype: document.caretPositionFromPoint API

2024-01-12 Thread 'Siye Liu' via blink-dev
Contact emails si...@microsoft.com, sa...@microsoft.com Explainer None Specification https://www.w3.org/TR/cssom-view-1/#dom-document-caretpositionfrompoint Summary This new API allows users to get current caret position from a given screen point. The API returns a CaretPosition object which

Re: [blink-dev] PSA: Fire beforeinput event before compositionupdate event during IME composition.

2023-10-06 Thread 'Siye Liu' via blink-dev
ity testing or analysis to ensure sites aren't relying on the >> differences between engines here (hopefully not, but you know...)? >> On 9/25/23 7:59 PM, 'Siye Liu' via blink-dev wrote: >> >> Hi blink-dev, >> >> We've been landing a change >> <https://chromiu

[blink-dev] PSA: Fire beforeinput event before compositionupdate event during IME composition.

2023-09-25 Thread 'Siye Liu' via blink-dev
Hi blink-dev, We've been landing a change to enable new event ordering for beforeinput and compositionupdate during IME composition. The previous event ordering for IME composition was: keydown -> compositionstart ->