Я получил неправильное значение, когда пытаюсь выбрать nativeElement.offsetwidth и nativeElement.offsetLeft.оба полученных значения одинаковы и отличаются, когда я consol.log полный nativEement.


тот же результат дает getComputedStyle: 
Мой код выглядит так:
let tabs = this.elementRef.nativeElement.querySelector('.tabs');
let selector = tabs.querySelector('.selector');
let activeItem = tabs.querySelector('.active');
console.log('activeItem.offsetWidth: ' + activeItem.offsetWidth);
console.log('activeItem.offsetLeft:' + activeItem.offsetLeft);
console.log('getComputedStyle(activeItem).width:' + getComputedStyle(activeItem).width);
console.log(getComputedStyle(activeItem));
console.log(activeItem);
Кроме того, у меня есть разные значения в Firefox: 
Спасибо!