mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
id: was documented as a substring match and is exact-or-suffix-after-":id/", so id:Button does not match com.x:id/saveButton; desc: is exact-or-prefix-before ", ". Bounds was declared inclusive while Width returns Right - Left, putting every width, height and centre off by one against its own stated semantics. All three producers emit exclusive right and bottom, so the code was right and the comment was the only wrong copy. A test pins the arithmetic, including the abutting and one-pixel cases the two conventions disagree on. Also corrects which backend emits which bounds format: the paired form is what both device backends send, the flat one is chrome and the stub.